<?php

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 * Description of AjaxExpandAction
 *
 * @author 敏学
 */
class AjaxExpandAction extends AjaxExpandPublicAction{
    //put your code here
    public function getClientStatCityList(){
        $_GET['group']  = 1;
        $_POST['query']['country_id']   = $_POST['id'];
        $model 	= D('ClientStat');     
		///格式化+获取列表信息  
	$list	=	$model->getIndex(); 
		///assign
	$this->assign('list',$list);
        $this->display();
    }
    
    public function getClientStatCompanyList(){
        $_GET['group']  = 2;
        $params         = explode('_', $_POST['id']);
        $_POST['query']['country_id']= $params[1];
        $_POST['query']['city_id']   = $params[0];
        $model 	= D('ClientStat');     
		///格式化+获取列表信息  
	$list	=	$model->getIndex(); 
		///assign
	$this->assign('list',$list);
        $this->display();
    }
}

?>
